<template>
	<div class="goods_list">
		<el-form ref="formDataRef" :model="formData" label-width="120px" class="demo-form-inline">
			<el-form-item prop="productName" label="商品名称" style="width: 100%">
				<el-input disabled v-model="formData.productName" placeholder="商品名称"></el-input>
			</el-form-item>
			<el-form-item prop="skuCode" label="SKU" style="width: 100%">
				<el-input disabled v-model="formData.skuCode" placeholder="SKU"></el-input>
			</el-form-item>
			<el-form-item prop="commissionRate" label="商品佣金比列" style="width: 100%">
				<el-input v-model="formData.commissionRate" placeholder="SKU"></el-input>
			</el-form-item>
		</el-form>
	</div>
</template>
<script setup name="GoodsEditModal">
const props = defineProps({
	goodsInfo: {
		type: Object,
		default: () => {},
	},
});

const formData = ref({
	...props.goodsInfo,
});

onMounted(() => {});

defineExpose({
	formData,
});
</script>
<style lang=""></style>
